import { IShape, Shape } from './file/IShape';
import { Circle } from './file/Circle';
import { Triangle } from './file/Triangle';

function drawAllShapes( shape : IShape ) {
    shape.draw();
}

drawAllShapes( new Circle() )
drawAllShapes( new Triangle() )
drawAllShapes( new Shape() )